package com.cn.mobileproject.com;


public class ComFactory {

	private static ComFactory instance = new ComFactory();
	private ComFactory(){}
	
	public static ComFactory getInstance(){
		return instance;
	}
	
	public ServerCom getServerCom(){
		return new ServerCom();
	}
	
	public TaskCom getTaskCom(){
		return new TaskCom();
	}
	
	public MessageCom getMessageCom(){
		return new MessageCom();
	}
}
